<template>
  <h1>{{ isCheck }}</h1>
  <button @click="changeBtn">按钮</button>
</template>

<script setup lang="ts">
import { ref } from 'vue'

const isCheck = ref(true)

const changeBtn = () => {
  isCheck.value = !isCheck.value
}
</script>
